package com.ls.lserp.modules.order.dao;


import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.order.entity.AuditInfo;
import com.ls.lserp.modules.order.entity.Quotation;
@MyBatisDao
public interface QuotationDao extends CrudDao<Quotation>{
	
	
	public List<Quotation> findStyleList(Quotation quotation);
	
	public List<Quotation> findHistoryList(Quotation quotation);
	
	public Quotation getStyle(Quotation quotation);
	
	public int insertHistory(Quotation quotation);
	
	public List<Quotation> findUnitCostList(long id);
	
	public List<Quotation> findMaterialList(long id);
	
	public List<Quotation> findOfferMaterialList(long id);
	
	public Quotation getUnitCost(long id);
	
	public int insertMaterial(Quotation quotation);
	
	public int insertMaterialHistory(Quotation quotation);
	
	public List<AuditInfo> findCheckList(long id);
	
	public int updateStatus(Quotation quotation);
	
	public int insertCheck(Quotation quotation);
	
	public List<Quotation> findStyleFileList(long id);
	
	public int insertOfferStyle(Quotation quotation);
	
	public int deleteOfferStyle(Quotation quotation);
	
	public int updateStatus(AuditInfo auditInfo);

	public List<Quotation> findStyleDaHuoList(Quotation quotation);

}
